<?php $aviso = $this->aviso; ?>

<h1>Cadastro</h1>

<?php if ($aviso != NULL):?>

<h2><?php echo $aviso; ?></h2>

<?php else :?>

<?php var_dump($_SESSION);?>

<?php endif;?>